# 
# To change this template, choose Tools | Templates
# and open the template in the editor.
 

class Search
  attr_accessor :query
  attr_accessor :tag
  
  def initialize(params)
    unless params.nil?
      @query  = params[:query] unless params[:query] == ""
      @tag = params[:tag] unless params[:tag] == ""
    end
  end
end
